package com.leo.foodmaster.admin.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 用户信息DTO
 * </p>
 *
 * @author ：Leo
 * @since ：2021-07-01 14:24
 */
@Data
@ApiModel("用户信息DTO")
public class UserDTO {
    @ApiModelProperty(value = "用户id")
    private Long id;

    @ApiModelProperty(value = "用户名称")
    private String name;

    @ApiModelProperty(value = "用户账号")
    private String account;

    @ApiModelProperty(value = "用户密码")
    private String password;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "用户头像")
    private String avatar;

    @ApiModelProperty(value = "性别：‘F’（女）‘M’（男） 默认‘U’（未知）")
    private String sex;

    @ApiModelProperty(value = "机构Id：没有加入机构的为1，默认为平台用户")
    private Long organId;

    @ApiModelProperty(value = "部门Id：没有加入部门为0")
    private Long deptId;

    @ApiModelProperty(value = "账号是否可用：默认为0（可用）1（禁用）")
    private String status;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty("角色Id列表")
    private List<Long> roleIds;

}
